﻿@model  BankData 
<div class="model-display">
    <div class="layout-onecolumn">
        <div class="display-label">
            @Html.LabelFor(model => model.Assiginment)
        </div>
        <div class="display-field">
            @Html.DisplayFor(model => model.Assiginment)
        </div>
    </div>
    <div class="layout-twocolumn">
        <div class="display-label">
            @Html.LabelFor(model => model.Payer)
        </div>
        <div class="display-field">
            @Html.DisplayFor(model => model.Payer)
        </div>
    </div>
    <div class="layout-onecolumn">
        <div class="display-label">
            @Html.LabelFor(model => model.BankPaidIn)
        </div>
        <div class="display-field">
            @Html.DisplayFor(model => model.BankPaidIn)
        </div>
    </div>
    <div class="layout-onecolumn">
        <div class="display-label">
            剩余可认款金额
        </div>
        <div class="display-field">
            @if (Model != null)
            { 
                @Model.Remain()
            }
        </div>
    </div>
    <div class="layout-onecolumn">
        <div class="display-label">
            剩余可退款金额
        </div>
        <div class="display-field">
            @if (Model != null)
            { 
                @Model.RemainRefundment()
            }
        </div>
    </div>
    <div class="layout-onecolumn">
        <div class="display-label">
            @Html.LabelFor(model => model.BankServiceFee)
        </div>
        <div class="display-field">
            @Html.DisplayFor(model => model.BankServiceFee)
        </div>
    </div>
    <div class="layout-onecolumn">
        <div class="display-label">
            @Html.LabelFor(model => model.Currency)
        </div>
        <div class="display-field">
            @Html.DisplayFor(model => model.Currency)
        </div>
    </div>
    <div class="layout-onecolumn">
        <div class="display-label">
            @Html.LabelFor(model => model.BankCode)
        </div>
        <div class="display-field">
            @if (Model != null)
            {
                @BindDropDownList.GetBankName(Model.BankCode)
            }
        </div>
    </div>
    <div class="layout-onecolumn">
        <div class="display-label">
            @Html.LabelFor(model => model.ReceiveDate)
        </div>
        <div class="display-field">
            @Html.DisplayFor(model => model.ReceiveDate)
        </div>
    </div>
    <div class="layout-onecolumn">
        <div class="display-label">
            @Html.LabelFor(model => model.BankRemarkNum)
        </div>
        <div class="display-field">
            @Html.DisplayFor(model => model.BankRemarkNum)
        </div>
    </div>
    <div class="layout-onecolumn">
        <div class="display-label">
            @Html.LabelFor(model => model.ReceiveType)
        </div>
        <div class="display-field">
            @if (Model != null)
            {
                @BindDropDownList.GetReceiveTypeName(Model.ReceiveType)
            }
        </div>
    </div>
    <div class="layout-twocolumn">
        <div class="display-label">
            @Html.LabelFor(model => model.LCNumber)
        </div>
        <div class="display-field">
            @Html.DisplayFor(model => model.LCNumber)
        </div>
    </div>
    <div class="layout-onecolumn">
        <div class="display-label">
            @Html.LabelFor(model => model.AccountDate)
        </div>
        <div class="display-field">
            @Html.DisplayFor(model => model.AccountDate)
        </div>
    </div>
    <div class="layout-twocolumn">
        <div class="display-label">
            @Html.LabelFor(model => model.TradeAddionalComment)
        </div>
        <div class="display-field">
            @Html.DisplayFor(model => model.TradeAddionalComment)
        </div>
    </div>
    <div class="layout-onecolumn">
        <div class="display-label">
            @Html.LabelFor(model => model.Status)
        </div>
        <div class="display-field">
            @if (Model != null)
            {
                @BindDropDownList.GetBankStatusName(Model.Status.GetValueOrDefault(1))
            }
        </div>
    </div>
        <div class="layout-onecolumn">
        <div class="display-label">
            @Html.LabelFor(model => model.CustomerCode)
        </div>
        <div class="display-field">
            @Html.DisplayFor(model => model.CustomerCode)
        </div>
    </div>
        <div class="layout-onecolumn">
        <div class="display-label">
            @Html.LabelFor(model => model.CustomerName)
        </div>
        <div class="display-field">
            @Html.DisplayFor(model => model.CustomerName)
        </div>
    </div>
    <div class="layout-onecolumn">
        <div class="display-label">
            CSR签出
        </div>
        <div class="display-field">
            @(Model.HasChecked() ? "是" : "否")
        </div>
    </div>
    <div class="layout-onecolumn">
        <div class="display-label">
              @Html.LabelFor(model => model.FinanceCheckOut)
        </div>
        <div class="display-field">
            @Html.DisplayFor(model => model.FinanceCheckOut)
        </div>
    </div>
    <div class="layout-onecolumn">
        <div class="display-label">
            废除
        </div>
        <div class="display-field">
            @Html.DisplayFor(m => m.IsDelete)
        </div>
    </div>
    <div class="layout-onecolumn">
        <div class="display-label">
            @Html.LabelFor(model => model.ImportSAP)
        </div>
        <div class="display-field">
            @Html.DisplayFor(model => model.ImportSAP)
        </div>
    </div>
    <div class="layout-onecolumn">
        <div class="display-label">
            DocumentNo
        </div>
        <div class="display-field">
            @Html.DisplayFor(model => model.DocumentNo)
        </div>
    </div>
    <div class="layout-onecolumn">
        <div class="display-label">
            @Html.LabelFor(model => model.GenerateRecieveVoucher)
        </div>
        <div class="display-field">
            @Html.DisplayFor(model => model.GenerateRecieveVoucher)
        </div>
    </div>
    <div class="layout-onecolumn">
        <div class="display-label">
            @Html.LabelFor(model => model.GenerateTransferVoucher)
        </div>
        <div class="display-field">
            @Html.DisplayFor(model => model.GenerateTransferVoucher)
        </div>
    </div>
</div>
